
package idp.honeytracks;

public class MainApp {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		boolean needsNew =  args[0].equals("yes") ? true : false;
        int class_attrib_pos = 12;
        /*JSONParser jsonParser = new JSONParser();
        try{
        	jsonParser.parseJSON();        	
        	class_attrib_pos = jsonParser.getNum_revenue_class();
        }catch(Exception e){
        	e.printStackTrace();
        }*/
        
        WekaFunctions wf = new WekaFunctions();
        try{
        	wf.findZeros(class_attrib_pos-1, needsNew);
        	wf.setInstances(class_attrib_pos, needsNew);
        	wf.testGenerate(class_attrib_pos-1, needsNew);
           
        }catch(Exception ex){
        	ex.printStackTrace();
        }
	}

}